<template>
    <div>
        <template v-if="$store.state.publicData.shop.pc_status">
            <div class="default-layout flex-col">
                <v-header></v-header>
                <main class="content-container wrapper1180 flex-1">
                    <nuxt />
                </main>
                <v-footer></v-footer>
                <float-nav></float-nav>
            </div>
        </template>

        <template v-else>
            <div class="default-layout flex row-center muted xxl">
                商城已关闭
            </div>
        </template>
    </div>
</template>
<script>
import VHeader from "~/components/widgets/header/index";
import VFooter from "~/components/widgets/footer";
import FloatNav from "~/components/widgets/fixed";
export default {
    components: {
        VHeader,
        VFooter,
        FloatNav,
    },

    created () {
        console.log(this.$store.state.publicData.shop.pc_status)
    }
};
</script>
<style lang="scss" scoped>
.default-layout {
    min-height: 100vh;
    main {
        padding-bottom: 38px;
    }
}
</style>
